home *** CD-ROM | disk | FTP | other *** search
/ Adventures with Oslo: Tools & Gadgets / Adventures with Oslo - Tools and Gadgets.ISO / mac / Studio / Studio.Dir / 00050_wrong markers.ls < prev    next >
Encoding:
Text File  |  1994-09-23  |  380 b   |  11 lines

  1. on mouseDown
  2.   global brushColor, squiggleSprite
  3.   set marker to (getAt(the clickLoc, 2) / 23) + 1
  4.   puppetSound(the name of cast (the number of cast "Piano G" + marker - 1))
  5.   updateStage()
  6.   set brushColor to value(word marker of field "colors")
  7.   set the castNum of sprite squiggleSprite to random(7) - 1 + the number of cast "first doodle"
  8.   updateBrush()
  9.   updateStage()
  10. end
  11.